define(['dojo/_base/declare', 'js/layer/Base'], function(declare, Base) {
	return declare('js/layer/County', Base, {
		createLayer: function(config) {
			var layer = new ol.layer.Vector({
				source: new ol.source.Vector({
					features: (new ol.format.GeoJSON()).readFeatures([])
				})
			});
			return layer;
		},
		initFeatures: function(data) {
			this.getSource().addFeatures((new ol.format.GeoJSON()).readFeatures(data));
		}
	});
});